package com.dubbo.controller;

import com.dubbo.service.ConsumerService;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

@RestController
public class TestController {

    @Resource
    private ConsumerService consumerService;

    @GetMapping
    public String show() {
        return consumerService.show();
    }
}
